home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 37
/
Aminet 37 (2000)(Schatztruhe)[!][Jun 2000].iso
/
Aminet
/
dev
/
misc
/
AWNP_2-39.lha
/
AWNP
/
AWNP-Docs
/
string.doc
< prev
next >
Wrap
Text File
|
2000-02-14
|
2KB
|
98 lines
String gadget event
-------------------------
'gadget GID string'
String gadget parameters.
-------------------------
font=GID
This sets the font for the gadget. The GID points to an ALREADY defined text attribute.
TabCycle (tc)
This gadget can be activated using the tab key.
close (c)
This gadget will close the window when selected by the user.
readonly (ro)
This gadget is read only.
disable=number (dis=)
The gadget is disabled if number = 0 , enabled if number != 0. Defaults to enabled.
gadgettext="text" (gt=)
Set the text in the gadget.
minchars=number (minc=)
Minimum number of character/digits in this gadget. Defaults to 10.
maxchars=number (maxc=)
Maximum number of character/digits in this gadget. Defaults to 100.
leftjustify (lj)
centerjustify (cj)
Set the justification of the text for the gadget. Defaults to rightjustify.
minwidth=number (minw=)
Set the minimum width for this gadget
minheight=number (minh=)
Set the minimum height for this gadget
weightedwidth=number (weiw=)
Set the weighted width for this gadget
weightedheight=number (weih=)
Set the weighted height for this gadget
nominalsize (noms)
Set this gadget to its nominal size.
replace=GID
Use this gadget to replace an existing gadget specified by GID.
Definition Reply
-----------------
When the gadget creation is successful the pipe replies with
'ok GID'
String gadget modify parameters.
-------------------------
disable=number (dis=)
The gadget is disabled if number = 0 , enabled if number != 0.
gadgettext="text" (gt=)
Set the text in the gadget.
selected=num (s=)
Set the cursor position in a string gadget, and activate the gadget.
bufferpos
Read the current cursor position in the string gadget. This keyword should be used by itself. ( 'id GID getposition')
It is replied to with 'POSITION ok'.